Why is my variable not incrementing

welcome to shbcf.ru